package com.quarkus.entity.des;

import io.quarkus.hibernate.orm.panache.PanacheEntity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;

/**
 * @Author: TongRui乀
 * @Date: 2021/3/28 15:07
 * @description：
 */
@Entity(name = "demo2.user_des")
public class UserDes {

    @Id
    @SequenceGenerator(name = "user_des_id_seq", sequenceName = "demo2.user_des_id_seq", initialValue = 10, allocationSize = 1)
    @GeneratedValue(generator = "user_des_id_seq")
    private Long id;

    private String name;

    private String des;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }
}
